package com.nbsaas.boot.manufacturing.rest.convert;

import com.nbsaas.boot.manufacturing.data.entity.ProductionPlan;
import com.nbsaas.boot.manufacturing.api.domain.response.ProductionPlanResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 生产计划-实体对象转化成响应对象
*/

public class ProductionPlanResponseConvert  implements Converter<ProductionPlanResponse,ProductionPlan> {

    @Override
    public ProductionPlanResponse convert(ProductionPlan source) {
        ProductionPlanResponse  result = new  ProductionPlanResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

